package app

var (
	AppInjector *Injector
)

func InitApp() error {

	injector, _, err := BuildInjector()
	if err != nil {
		return err
	}

	AppInjector = injector
	injector.Router.RegisterAPI()

	//server.Register(injector.Router.UserAuthAPI.GetUserUid)
	return nil
}
